import java.util.*;

public class Test1 {
    public static void main(String[] args) {
        LinkedList<Character> s1 = new LinkedList<>();
        //Scanner scanner = new Scanner(System.in);
        String str1 = "They are students";
        String str2 = "aeiou";
        for (int i = 0; i < str1.length(); i++) {
            s1.add(str1.charAt(i));
        }
        for (int i = 0; i < str2.length(); i++) {
            char ch = str2.charAt(i);
            for (int j = 0; j < s1.size(); j++) {
                if(ch == s1.get(j)){
                    s1.remove(j);
                }
            }
        }
        StringBuilder stringBuilder = new StringBuilder();
        for (int i = 0; i < s1.size(); i++) {
            stringBuilder.append(s1.get(i));
        }
        str1 = stringBuilder.toString();
        System.out.println(str1);
    }
}
